/**
 * Created with IntelliJ IDEA.
 * User: GuoZheng
 * Date: 13-10-10
 * Time: 上午9:19
 * To change this template use File | Settings | File Templates.
 */
public class Test {
    public static void main(String[] args) {
        StringBuffer sb = new StringBuffer(10000000);
        String s = new String(sb);
        System.out.println(s.length());
    }
}
